improve photo update