Update rpms. Improve main.pp