add lastpayment table to DB