add link record table in database