added constraint update in translations when length changes