updated docs and fixed typos