Add `update` method for updating Mongo documents [closes #2]