commit the img