Keep computed model attributes up to date.