update docstring parsing