update temp file and add config folder