fixes avatar not updating on page after edit.