update style for mobile