add and update some js