Updating controller for Laravel 4.1