hook added and payment schema modified