updates common styles