Some fixes for updating users in admin