how to update or refresh the wp user object?

Assuming you’re talking about the current user (as your code fragment shows), you’d call get_currentuserinfo() again.

Codex page for get_currentuserinfo()

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)