save learned data