update comment, increment, logic formatting