added onchange events to unit selects