updated dir struct