How do i update Server & Client best way?

Hello!
My server currently have 2.2.11 installed and i see 2.3.7 is out and
Client have 2.2.6 and 2.3.4 is out aswell.
How do i update the best way?
Btw my server is installed on Ubunto