update js too