Added update and push method
Merge pull request #3 from mintao/master

Added missing methods