Commented and refactored cycle updates