updating transitions to a better and simplier one