updating style for pre