update image and remove extra files