updated image uploading to work