updating function doc comment