update ec2 endpoints