Update upload.rb