Updates configuration.