Adding and tracking directory control
Added directory update control