after clear, the aql is updated