updating payment layer