added ability to update images