(bug 13587) Execute deferred updates in api.php