update function.md with array
update function.md with function return value