update the kfun extension