updates style