change dir struct.