update script for release 2.4.0