edit directive