adjust db settings