upgrade to CakePHP 2.0 style