Update rakefile.rb

the upgrade task is ordered correctly