Updated the model entities to keep created ones in memory.