Update function.c