add link system and update db