update to add resample config