updating qualifying graph