Run code after updating pivot table