update federating example doc