Update sfunction.c