Edit directive