update script for 2.2