update some directory