Update keyphrase function.