Add update item functionality.