Update upload_permissions.rb