updated delete command