update json image save