Update summary logic