Update settings handling.