Update directory extension