Make createProfile/updateProfile atomic with single commit - WIP