update photo crud