Updating directory references