update CHANGES and bump version to v3.6.5