Fix update function
Merge pull request #19 from Yukariin/master

Fix update function