updating custom client example