modified update profile