changes to update image id