update assertion message of "transform" API.