Fixed insert, added option to just pass in an iterator, model, or model id