Fixed bug with photo editing

Client now properly syncs changed photoId after new photo is taken