changed variable name of updating boolean