More structure

Added a cloursure around the update function, made a print function so
we don't have to