add condition for only one change