update config, export gpio