updated doc and history