Update edit mode