update comments

update key function comments