Update changelog code