fix crud function in timeline flow