Yes they do need larger tanks than a 40. Butterflies are not very hardy and if the tank isn't established enough then they won't last very long at all. Most butterflies you can't keep in that size, but you can keep dwarf angels in that size, although they can be just as sensitive as butterflies.