Sets dev state