Updated Directory Update File to have more functionality