update css and error messages