Update docs

Update docs and code files.