if you want him to transform without clicking the ability, make an ability based on "Chaos"
Chaos allows you to change your unit from one to another.
When the unit picks up the item, add your edited Chaos to the unit.
When he drops it, add an ability based on Chaos to turn it back to the first unit.