Update handle_effect.php