Update client code