update project directory check