Handled db changes