updating with latest directive