PIM-3322: Added Setters and specs for updater
PIM-3322: Refactored code by renaming var and extract validation method