add reset primary key support