load associated table on ajax call