added refreshTable