Added update method
Merge pull request #4 from scttnlsn/master

Added update method