add a list of npc to the local state and update their position in localState.update().