fixed image upload issue where steps without images would not update image gallery