update timeline item amount if there is a modification for that date
api route and function to update timeline item