update the documentation and explain how to use the database.yml