observe changes of the model