add show and update doc