Improve table refresh