Corrected spelling in the index function, Added a validator in the update function on line 101 and made a change on line 109 to include a findOrFail.