update css and init uploadtoken