fix bug delete et update photo