updates docstring.