cought a fucker!! fixed a bug with updating stocktaking inserted status