Updates the team and application select ids.