def upd