trying to get onupdate to work

still not calling doJanitor, but now it is only trying to do so once per
tick instead of once per frame