work with ajax refresh table