Update configuration method.