Update uploads_controller.rb