add localId in sync response