updated Gemfile and database config