Update image selection functionality and update new.html.erb