update profpic attribute