update partmatch.c