updated delete

updated delete ajax function at line 67