UPDATE #__aworewards SET points_paid=points WHERE credit_type='points';
DELETE FROM #__aworewards WHERE credit_type='points';