Clear warning flag before updating the graph