Updates database.yml file