Update c implementation file