update ls dir for darwin