Update rake tasks according to it's deprecation messages.