Added ability to update existing items