update timeline directive