update timeline API