update native.c