Updated restclient