Updated the client code.