Udpate RELEASE_NOTES and add flush function.