apply configuration