js update && control