update instances constraint'