updated matches generation