add predecessor and sucessor info