edit flow for animation