update for mac bindings