updating for laravel 4.2