updated dropdown component