update some js