updates to upload photos