passing endpoint call from submit changes to create new plugin buttons (WIP)