nit: sinon.assert.calledOnce(updateSpy)

this gives better error messages