Update payout.py

move insert payouts