modify the state style