fixed update_freep() in fileop.c