updating with normalization