Updata JS  api address