Add logic initialize group_id of all memos