Ending scenes

Hi! What is the proper way to end a scene in phaser? I have a boot preload, Game, and gameoverscene. They all work fine until i start the gamescene again from the gameoverscene. Then im getting errors from undefined group in the updatefunction