updates to work with laravel 4.1