code changes for SCG create API