Update Linediagram