Change database configuration