make sure callback is only called once
update example
1.0.1