Updating for ec2 instance