Update gemfile and db config