Trying to update FPSTemplate to 4.14

just need to know how to fix the fallowing errors seems like i some get it but not totally sure here.

The project could not be compiled. Would you like to open it in Visual Studio?

Running L:/Program Files (x86)/Epic Games/4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe FPSTemplate Development Win64 -project="L:/Unreal Projects/FPSTemplate 4.14/FPSTemplate.uproject" -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for FPSTemplateEditor
  Running UnrealHeaderTool "L:\Unreal Projects\FPSTemplate 4.14\FPSTemplate.uproject" "L:\Unreal Projects\FPSTemplate 4.14\Intermediate\Build\Win64\FPSTemplateEditor\Development\FPSTemplateEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for FPSTemplateEditor in 3.202141 seconds
@progress pop
Performing 6 actions (4 in parallel)
[2/6] Resource PCLaunch.rc
[3/6] Resource ModuleVersionResource.rc.inl
PCH.FPSTemplate.h.cpp
Module.FPSTemplate.cpp
FPSTemplate.generated.cpp
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\HUD\ScoreboardWidget.cpp(19): error C2248: 'UWorld::GameState': cannot access private member declared in class 'UWorld'
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Engine/World.h(780): note: see declaration of 'UWorld::GameState'
L:\Program Files (x86)\Epic Games\4.14\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UMG\Viewport.generated.h(12): note: see declaration of 'UWorld'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\HUD\ScoreboardWidget.cpp(24): error C2248: 'UWorld::GameState': cannot access private member declared in class 'UWorld'
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Engine/World.h(780): note: see declaration of 'UWorld::GameState'
L:\Program Files (x86)\Epic Games\4.14\Engine\Intermediate\Build\Win64\UE4Editor\Inc\UMG\Viewport.generated.h(12): note: see declaration of 'UWorld'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\Player\BasePlayerController.cpp(196): warning C4458: declaration of 'PlayerState' hides class member
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\GameFramework/Controller.h(55): note: see declaration of 'AController::PlayerState'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\Soldier\Soldier.cpp(114): warning C4458: declaration of 'InputComponent' hides class member
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\GameFramework/Actor.h(319): note: see declaration of 'AActor::InputComponent'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\Soldier\Soldier.cpp(294): warning C4996: 'UAnimInstance::GetSlotWeight': This cannot be called directly as it relies on data potentially in use on worker threads Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Animation/AnimInstance.h(426): note: see declaration of 'UAnimInstance::GetSlotWeight'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\StaticFunctionLibrary.cpp(224): error C2440: 'initializing': cannot convert from 'AGameStateBase *' to 'AGameState *'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\StaticFunctionLibrary.cpp(224): note: Cast from base to derived requires dynamic_cast or static_cast
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\StaticFunctionLibrary.cpp(227): error C2440: 'return': cannot convert from 'const ABaseGameMode *' to 'ABaseGameMode *'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\StaticFunctionLibrary.cpp(227): note: Conversion loses qualifiers
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\World\CustomizationScreen.cpp(88): warning C4996: 'UStaticMeshComponent::StaticMesh': Direct access to StaticMesh member is deprecated and will be made private soon. Please use SetStaticMesh and GetStaticMesh. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Components/StaticMeshComponent.h(165): note: see declaration of 'UStaticMeshComponent::StaticMesh'
L:\Unreal Projects\FPSTemplate 4.14\Source\FPSTemplate\World\CustomizationScreen.cpp(97): warning C4996: 'UStaticMeshComponent::StaticMesh': Direct access to StaticMesh member is deprecated and will be made private soon. Please use SetStaticMesh and GetStaticMesh. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
L:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\Components/StaticMeshComponent.h(165): note: see declaration of 'UStaticMeshComponent::StaticMesh'
ERROR: UBT ERROR: Failed to produce item: L:\Unreal Projects\FPSTemplate 4.14\Binaries\Win64\UE4Editor-FPSTemplate.dll
Total build time: 37.81 seconds