update list snippet