update get caleg endpoint url