update eventcalls.c