updating af-magic