add delete operation and text change