update comment data struct