update user structure on API index page to match the current one