Added redrawing of the table