updated column names and rake tasks for database