updated doc for ubuntu and mac