update configuration method