update images and delete no use images