update doc for on function

The on function can take a 4th parameter : options