implemet to update body on IndexDB