save dev state