Updated client code to complete PUT and DELETE requests