update temprory id to data