Add platform UI
Update Operationsystem based on platform param

fix update_hostgroup_list and other updates to be called automatically