Replaced broken hard drive, now stuck in old OS software
So I have a 2011 13in MacBook Pro and my old hard drive broke and I replaced it with the same model that I found online, but now I can't update it to the latest software. It says I have the Mac OS X Lion 10.7.5 (11G63), and whenever I scan for updates it says there are none. When I go to the app store, it says I cant download Sierra, even though I was able to before I replaced my hard drive.
MacBook Pro, Mac OS X (10.7.5)