update examples
support entry arg to constructor