update names and extract main jquery