update primary button