handle negative id update case