always return {} in app.record.edit.submit event

when i use in config page it return object i save with but in app.record.edit.submit event it return {}
code :
in desktop.js
import {PLUGIN_ID} from "../utils/constants";'app.record.edit.submit', async (event) => {
const config =;
console.log(config) //{}
await handleAddOrUpdateKintoneRecord(event);
return event;

in config.js
const config =;
console.log(config) // return normal

i find out that i need to click update the app to reflect the change on config page. thanks