revised the database config