adds atomic profile update function

whitelist ftw

i javascript good