add ajax to 'delete'