Correctly set update flag in operator[].