Update grape.c

update grape from github.com