update fetching total value method;