detail view added for update and destroy