Update directory.c