update total value filed