Update grengine.c