Probing the evolution of galaxy clusters with the SZ effect