write key update
update key