Added the update_sheet_activity function which updates sheets individually