How to upgrade a 2009 MacBook Pro from 10.11.6 to 10.12?
The maximum supported OS for all of the MacBook Pros released in 2009 is OS X El Capitan 10.11.6 (15G31).
So your model of MacBook Pro can not be officially upgraded to macOS Sierra 10.12.