change rest url