update final key