Add method for updating avatar