adding rake task to fill parent field