If you already installed the flatpak and want to check for updates, run command:

flatpak update org.wesnoth.Wesnoth

NOTE: If you also installed Wesnoth from Ubuntu Software, you will have two application shortcut icons as the flatpak runs in sandbox. Besides removing the old stock version, you may run Wesnoth flatpak via command: