Edits to prefix