update th styles