update example file and update example in README