Move logic into a class, and add second update method
Release 1.0.0