update gemfile and database.yml