Update the documentation based on changes made in the code