updating styles for tablet