update hairline mode