update Gemfile and database.yml