afterUpdate call: fixed undefined opt
Merge pull request #24 from nlemoine/master

afterUpdate call: fixed undefined opt