cms updates
diff --git a/erpnext/patches/may_2012/cms.py b/erpnext/patches/may_2012/cms.py
index a77ee31..7b08754 100644
--- a/erpnext/patches/may_2012/cms.py
+++ b/erpnext/patches/may_2012/cms.py
@@ -4,4 +4,8 @@
 	from webnotes.model.code import get_obj
 	
 	# rewrite pages
-	get_obj('Website Settings').rewrite_pages()
\ No newline at end of file
+	get_obj('Website Settings').rewrite_pages()
+	
+	ss = get_obj('Style Settings')
+	ss.validate()
+	ss.on_update()
\ No newline at end of file