image_mappings sql change