updated doc according to the new features