update js product