updates api paths