changes for portal syncing