updated rest url