prepare changes