Update model states variable to match the filter in viewlist