add element array to replay context