watch changes to the model and update the editor when they happen