update saveswap py