Update hm-rewrites.php