Done: refresh photo json file in every upload. Next: Edit working.