Fixed minor issues and updated CakePHP