update define text code