Modify image definitions