remove unnecessary query from doc insert example