change style by each types
change style by each types