update mode to use latest flixel template, fix replays