Update docs to reflect latest changes and up to date examples
Fix formatting