Update

Fixes example, and NPE on startup