added a where to the update.
Merge branch 'master' of https://github.com/cxsshaw/beta_ci