__main__ function updated & gauge update more accurate