update format and css