update css for validation