fix photo update