Fixed a bug: Now updates rank of team table immediately after adding a new match