Fixed typo, fixed wrong parameter to photo.update()