update  js