added type and measure editing