added a editing state