update object.c (unable compile)