Update pinning tutorial
Merge pull request #2282 from mathiasdose/issue2281

Update pinning tutorial