API code to accept pending changes