logic upd