comparing two ways of updating betas