updating all essential elements