title: How to make Sequence Diagram for Update Inventory
body: <p>I'm preparing the sequence diagram for a project. I made the following sequence diagram for a retailer updating his inventory </p>
  
  <p>It's confusing to me because this is the first time I use this technique with a real project.i have used database as an object here and i don't know whether its right or wrong. And another thing i need to clarify is by using Updating i meant for both editing/add new item To the inventory. Is it wrong to do like that way? or else can we draw it separately?</p>
  
  <p>The following image is part of the updating process, would any one take a look and correct me if I did any mistake.(UpdateUI- User interface).Thanks in Advance.</p>
  
  <p><a href="https://i.stack.imgur.com/fzwiE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fzwiE.jpg" alt="This is the image"></a></p>