fix minor ui defect.
split the huge update method in myTable. preparing for the following 
function update---filter,collapse.