updating collection update to update id