updated with image selection