updates for kohana 3.2
fix adapter for Kohana 3.2