updating doc and typos