updates some styles