update new styles and js logics