The deadline for each match is different. This is denoted by the ticker displayed on every match. You can make unlimited changes to your team before the deadline.