Update documentation for any function