serialize changes (probably not necessary / should be cleaned) and small update to learn order