saves updated models