[#159] merged both update loops and probably fixed a bug too (should have been `!obj.updateWhenPaused`)