updating db settings