make delete a ajax call