swap old version with new