changes according to integrity check key