Updated from deprecated api
Updated node bridge code