ng directive update