Update traps.c