edit default state