update user profile before it's used by plugins refs #197