Update method is responsible for updating and re-drawing the game objects. Phaser by default will aim to run at 60…