edit detail view