update user client code