Update README.md

update the function template