import excel to database and match related records