Placed UpdateTick alert in wrong function.