small refactor of update method to accomodate disabled plugin state gracefully