work on making models save when turning a resource back into models.