Update gemfile and database configuration