update photo upload