Updated the documentation of the update() method.