update the model with a property called 'state'