implemented update methods for RestClient