Updates for new zend framework