update documentation for new callback