modify data format when updating payment