updating database.yml file