updating public api url prefix