working on updating db