Update function document.