adding option to persist models on update