rebuild project directory