update style for list