You probably unintentionally uploaded them all to Google photos and then when you update your phone Google gallery is gone and you have to open Google photos from online to download any photo you want supposed at least that's the case I'm having with Facebook issues so if you want to keep your photos backed up on a backup then backup your Google photos to a personal hard drive