update repo url based on given elasticsearch version