Code changes for match route for any match related queries and end points