change code directive