Update Directory Encoder