updated edit context