update example for new format