sync directory