Added the timelines and update ranges function to the models.