Fix open map bug for updateConstraints.