Update data set for a worksheet

How do I replace a data set to another for an existing worksheet?