update key