fixed update bug
Merge pull request #100 from NewSpring/hotfix-update

fixed update bug to close #96