insert id for update