updating db management