Update release tool

(cherry picked from commit b3dd4a7)
Update release tool

(cherry picked from commit d56d5fb)
update documentation with release 2.4.0