update keyfileter.c