Update Text API for use PI methods