Improve aggregate function
Update changelog
Finalize the feature