Update static-gen.php