update doc with cancel method