update topmerchant logic