edit now supports race condition prevention