update list item functionality