It could probably amount to cheating if the changes as you mention were made after you saw and agreed to a different product and paid for it.

Otherwise, it is unethical but I doubt if it could be called illegal.