update user, type, and doc ver 2