update js on save urls