updated user api