Update config file with database info