model change and view change