Update README.md

Added explanation of the logic about the handling the database.