fixed update id bug