Refactored 'beforeUpdate' in 'Player' while limiting control.