Update the function doc