update the DocBuilder