Convert update migration to rake task