Update upload function for image upload