Updates the views with the new directive