Adding new images and updating json