update uploadphoto