Update writing-functions.md