added element on update directive