Remove some code duplicates by extracting method Update::convertValues