Update templatemap_generator.php