update ec2 db connection options