update main system