update example.
fix readonly.