updated index to show change in model's state