updated documentation to reflect code changes