Updated documentation to use async/await