update the restriction for rack version