It depends on why the buyer is buying it. There are really only a couple reasons businesses get sold;
A) for the customer base. This us when the buyer is a competitor. Acquiring you is just a step to converting your customers to their product.
The value will depend largely on how many -customers- you have (people who give you money) versus -users- (people who -gave- you money once, or never).
B) for future profit. The seller is selling something that generates cash, the buyer offers some multiple of that cash up front. The buyer may have plans to increase the cash, the seller takes less cash now, but equally gets time back.
In this scenario improving the tech -may- result it a better price, (but probably wont). What it may do though is widen the buyer pool. Getting the product right is easier for you than them, and uplifting it may make it more desirable.
On the one hand painting the house makes it sell for more, on the other it matters little if the house is being demolished anyway.
In other words the answer to your question is that you need to know who you are selling to (what market) and what they are buying.