edit scope