coding #310 updating payment values