update to work with laravel 4.1