Better refresh table code.