Various tweaks to user update functions, moving stuff to datamapper-helpers.rb