maybe an update func param in the transition function
maybe an update func param in the transition function