new user update logic, use v2 API
delete commented code