Detect when updatework order fails and set needtoupdateqb to true