Gitlab CI runner showing version 11.2 altough gitlab-runner local version is 12.5

I have a ubuntu system which has a default olderversion of gitlab-runner of v11.2. I upgraded it to 12.5. When I register a runner and run it locally it shows version 11.2 in the runner on GitLab. I have double checked the version I am running locally by the command sudo gitlab-runner --version

Not sure why this is happening.