Update project.rb
update logic in preperation for database