update example-functions