not quite working changes for the image upload