added rake task to update legacy data.