replace curl calls with repo based updates