fix(omaha): use struct initialization

save some lines of code and use struct initialization