update struct.c