updates gemfile and database configuration