fixes to css updating