Update directory check