Change the database (from, to ,matchtype)