update id reference