save method for emvece model