update style for tablet