updated the key