Update API's to new state alphabet gap handling