update to match a bit protocol to REST