changes mapping for change directory