Merge pull request #17 from callofdutyops/master

complete update function
fix the changeAccount bug