Add saving function for Teams