Change diagram. Last variant