update wifi table to make `key` unique