upgrade image and map