update directive
code correction