replace_list function

Replace (refresh) a list