added statement id; modified meta creation