update gift code length