changing columns layout of cms page via upgrade script (m1)
<?php
$installer = $this;
$installer->startSetup();
$page = Mage::getModel('cms/page')->load('how-to', 'identifier');
if ($page->getId()) {
$page->setRootTemplate('two_columns_left');
$page->save();
}
$installer->endSetup();