Recalculate statistics on index update