remove existing configurations before adding new ones