update re used to fetch user id