Main and H file update