Trying to upgrade from 8.17.2 to latest not working

I run sudo apt-get update && sudo apt-get install gitlab-ce and that downloads and makes changes and once it is done i restart the server but the version remains the same. Can anyone help?