updated the server-url and REST calls