Update bindings and fix transition function issue