updating dir struct for testing