Merge pull request #20 from wendong112/master

fix update error when there are only updated packages in the repo