Created and implemented "eeUpdate" directive