updates the css for the lists