Update doc for functions and base
Update doc for functions