Db changes for teams,departments etc