formatting
delete and patch routes
updateItem
update and destroy action in controller
delete ajax request
fixed test