Update show/hide teams to single submit and refactor db items to methods.