first ajax call success and inserted into table