render view when model changes