updating detail