update directive testing