[TIMOB-13262] update only if required

For [TIMOB-13262](https://jira.appcelerator.org/browse/TIMOB-13262)