update urls of REST-api