Implemented model updating functionality. Fixes #1