updated example directive