only update users if necessary

http://manage.dimagi.com/default.asp?149854

This still isn't that great but better than before. Next option is to farm it out to Celery.