delete old diagram