Edit and Delete working for UNITS

Add java doc