Change barrier values