update directive part