Correct the user avatar updating logic in userview