do_purchase.jsp should update the precomputed tables now. Needs more extensive testing.