update function.md with default parameters
update function.md with inline function