updated the doc for then/andThen