refactor ubuntuPatching