Made update variable a float