update avatar generate on server