Fixing Table refresh