User can not update profile through ajax requests