Update Unique function for std::list