Update db settings