Change the example and fix reloadData bug