Update upgrade.md with more detail

Added notes about operations to functions and passing as vars.
Merge pull request #12 from chetmancini/patch-1

Update upgrade.md with more detail