Update adapter guide code to match