Updating db settings