Add updated code of chai-changes