code upd