update/delete detail