update style elements