API state renaming