Added `upgrade` task.