made ajax delete call