update wrapper for rust Chan changes