database adjust