update locations.json for image2 plugin