Replace all values of a sublist with given sublist