Added code to do updates of items