Add auto refresh
Add examples
Fix entity refresh