direcitive.js update