update comment calculation