changed links table to include send recive columns