Rename_samples in [0.2]

Is there a new way to rename samples in 0.2?