* adding copyright header * fix fmt and a test
* updating changes from ent PR * adding changelog * fixing err * fixing semgrep error