updating pershare calculation