adds edit to |