modify database and gemfile files