added update item to delegate method