Update configuration and layout.