update the  style of table