On click on done button, update the item