updating styling and payment detection