Add support for deleting units

Add delete unit support