update ec2_script