updated gemfile and configured database