adding resources :updates to routes
adding gem 'pg' to Gemfile
configuring database.yml for postgresql
adding association between update and user