afterUpdate call: fixed undefined opt