update to support laravel 4.1.x