chang to laravel form and update routes and update controller