Delete query on bpe.php