updates to the rake task for populting the database