added the possibility to send empty puts, and upgraded purge to use multi