change constraints to match last changes