calculate changed