Fix self-updating issue
Merge pull request #1 from baddth/staging

Fix self-updating issue