dict update unique index