Updated tables at tab changes