Updating directory encoder