updated README examples to reflect new callback style