update to the css functions