update doc for callback