format the example page and change api name