implemented the updateTransition method