update bindings to support more states