Update shorten code