update values and floats