update css and improve loading speed