Hook for updating a changelog file