teams now saving to db