misc updates in db