[TIMOB-13970] Added updating the Alloy hook if it is out of date