add attribute to choose `:install` or `:upgrade`
Merge pull request #11 from phlipper/auto-upgrade

add `auto_upgrade` attribute