Implement general comment state update.