updates .purchase and related selenium test