add uid field in index