updating the way certain events and callbacks are fired