update database configuration