Updates README with new function syntax