factorize code in `updateTransform()`
Merge branch 'master' of https://github.com/vtriquet/Matching-fruits--