updated doc for term context