update tutorial with callback syntax
update tutorial with callback syntax