Update via factory

Fixes #24