fix updating model view