fix issue related with updating  an item just after adding

Change-Id: Id0c146d97bb4ee1d9811d66715fa8256172773f3