Add an "update" method, fixes #15