int gem_objects_update(char *buf, int buflen);