Committing changes to images