Update rest url