fix a bug for updateDictDriver