Update conf file for database usage