add compose flow and timeline refresh